package com.github.shiqiyue.app.api.gapi.result.notice;

import com.github.shiqiyue.app.common.result.BasePageResult;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/***
 *
 * @author wenyao.wu
 */
@Data
@ApiModel
public class NoticePageResult extends BasePageResult {

    @ApiModelProperty("公告列表")
    private List<Item> records;

    @Data
    @ApiModel("NoticePageResult.Item")
    public static class Item {
        @ApiModelProperty("公告ID")
        private Long id;

        @ApiModelProperty("公告标题")

        private String title;

        @ApiModelProperty("公告内容")
        private String content;
    }

}
